<?php
class template_login extends theme
{
	
	protected function head()
	{
	?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>
	
<link type="text/css" rel="stylesheet" href="templates/user/css/login.css">
<script type="text/javascript" language="javascript" src="templates/user/js/login.js"></script>
	<?php
	}

	protected function middle()
	{
		?>
<p class="title"><?php echo $this->get_title(); ?></p>
<?php $this->message(); ?>
<div id="login-form">
	<form id="form-login">
	<p><label class="item-title">用户名: </label><input type="text" name="username" id="username" /></p>
	<p><label class="item-title">密码: </label><input type="password" name="password" id="password"  /></p>
	<p><label class="item-title">记住我: </label><input type="checkbox" name="remeberme" id="remeberme" value="1" /></p>
	<p><label class="item-title">&nbsp;</label><input type="submit" id="submit" value="登陆"/></p>
	</form>
</div>
<div id="login-msg"></div>
		<?php
	}		
		

}
?>